package com.xiaolin.exception;

/**
 * @ClassName MyException
 * @Description 自定义普通异常
 * @Detail 自定义普通异常一般两个方法就足够了
 * @Author MyPC
 * @Date 2020/11/30
 * @Version 1.0
 */
public class MyException extends Exception {

    public MyException(){
        super();  // 默认系统也会加上
    }
    public MyException(String msg){
        super(msg);
    }
}
